<?php echo $header;echo $sidebar ?>		
		<style>
			a.edit_icon {
		    background: url("<?php echo $this->config->base_url(); ?>assets/admin/admin_images/icons/edit.gif") no-repeat scroll left top transparent;
		    display: inline-block;
		    height: 16px;
		    width: 16px;
			}
			a.delete2_icon {
   	 			background: url("<?php echo $this->config->base_url(); ?>assets/admin/images/icon/delete.png") no-repeat scroll left top transparent;
    			display: inline-block;
    			height: 16px;
    			width: 16px;
			}
			ul.yiiPager {
			    border: 0 none;
			    display: inline;
			    font-size: 11px;
			    line-height: 100%;
			    margin: 0;
			    padding: 0;
			}
			
			ul.yiiPager a:link, ul.yiiPager a:visited {
			    border: 1px solid #9AAFE5;
			    color: #0E509E;
			    font-weight: bold;
			    padding: 1px 6px;
			    text-decoration: none;
			}
			.star {color: red;}
		</style>
		<div class="span10 content">

			<?php echo $hugemenu ?>

			<h1>Email Marketing</h1>

			<?php if($this->session->flashdata('message')) {?>
			<div class="alert alert-success">
				<?php echo $this->session->flashdata('message') ?>
			</div>
			<?php  }?>

			<div>
			
				<!-- Nav tabs -->
				<ul class="nav nav-tabs">
				  <li><a href="template">Templates</a></li>
				  <li class="active"><a href="#">Settings</a></li>
				  <li><a href="mass_campaigns">Mass Campaigns</a></li>
				  <li><a href="sent_mail">Sent Mail</a></li>
				  <li><a href="hot_leads">Hot Leads</a></li>
				  <li><a href="alerts">Alerts</a></li>
				  <li><a href="subscription">Subscriptions</a></li>
				  <li><a href="mailing_list">Mailing List</a></li>
				  <li><a href="filters">Filters</a></li>
				  <li><a href="../emailgroup">Group</a></li>
				</ul>
				
				<!-- Tab panes -->
				<div class="tab-content">
				  
				  <form id="valid_expense" action='<?=site_url('email_marketing/settings')?>' method='post'>
				     <table width="100%" cellpadding="5" >
				        <tr>
				            <th align="left" width="200">Email Mode </th>
				            <td>
				            	<select name="mailer_mode" id="mailer_mode" >
													<option value="html"> HTML Mode </option>
													<option value="text"> Plain Teax Mode </option>
								</select> 
				            </td>
				        </tr>
				         
				         <tr>
				            <th align="left" width="200">Mailer Type </th>
				            <td><select name="mailer_type" id="mailer_type" >
													<option value="1"> PHP Mail Function </option>
													<option value="2"> ISP's SMTP server </option>
													<option value="3"> Google's SMTP Server </option>
										</select> 
				            </td>
				        </tr>
				         <tr>
				            <th align="left" width="200">SMTP Port <span class='star'>*</span></th>
				            <td><input type="text" size="23" name="smtp_port" value="<?php if(isset($smtp_port)) echo $smtp_port; ?>">
				            </td>
				        </tr>
				        <tr>
				            <th align="left" width="200">NSMTP Username <span class='star'>*</span></th>
				            <td><input type="text" size="23" name="smtp_user" value="<?php if(isset($smtp_user)) echo $smtp_user; ?>">
				            </td>
				        </tr>
				         <tr>
				            <th align="left" width="200">SMTP Password <span class='star'>*</span></th>
				            <td><input type="text" size="23" name="smtp_pass" value="<?php if(isset($smtp_pass)) echo $smtp_pass; ?>">
				            </td>
				        </tr>
				        <tr>
				            <th>&nbsp;</th><td>
				            <input type="submit" value="Update" name="update" class="btn btn-primary">
				            </td>
				        </tr>
				    </table>
				</form>
				
				</div>
								
				
			</div>
		</div><!--/content-->
<?php echo $footer ?>
<script>
$(document).ready( function () {
    $(".collapse").collapse()({
      show: false
      });
});
</script>